package com.tjetc.mapper;

import com.tjetc.domain.Health;

import java.util.List;

public interface HealthMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Health record);

    int insertSelective(Health record);

    Health selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Health record);

    int updateByPrimaryKey(Health record);

    int  addHealth(Health health);
    int  updateHealth(Health health);
    Health findHealth(int id);
    int  deleteHealth(int id);

    List<Health> getDiseasesWithHealthInfo();

    List<Health> getDiseasesWithHealthInfo1(int newbornId);//根据newbornId查询所有疾病
}